package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface EmpleeService extends IService<Employee> {

    public Page<Employee> page( Integer page, Integer pageSize, String name);
    public R<Employee> login(Employee employee, HttpServletRequest request);
}
